package com.doctor.bean;

import java.io.Serializable;

public class ArticleBean implements Serializable{

	/**
	 * 医学知识文章bean
	 */
	
	private static final long serialVersionUID = 1L;	
	
	private int id;
	private String title;
	private String jj;
	private int dir;
	private String content;
	private String pic;
	private int hits;
	private String author;
	private int state;
	private String addtime;
	private int orderid;
	private int is_free;
	
	private boolean isNew;  //标志是否新添加的(非服务端返回字段)
	
	public ArticleBean(){
		super();
	}


	public ArticleBean(int id, String title, String jj, int dir,
			String content, String pic, int hits, String author, int state,
			String addtime, int orderid, int is_free) {
		super();
		this.id = id;
		this.title = title;
		this.jj = jj;
		this.dir = dir;
		this.content = content;
		this.pic = pic;
		this.hits = hits;
		this.author = author;
		this.state = state;
		this.addtime = addtime;
		this.orderid = orderid;
		this.is_free = is_free;
	}


	public ArticleBean(int id, String title, String jj, int dir,
			String content, String pic, int hits, String author, int state,
			String addtime, int orderid, int is_free, boolean isNew) {
		super();
		this.id = id;
		this.title = title;
		this.jj = jj;
		this.dir = dir;
		this.content = content;
		this.pic = pic;
		this.hits = hits;
		this.author = author;
		this.state = state;
		this.addtime = addtime;
		this.orderid = orderid;
		this.is_free = is_free;
		this.isNew = isNew;
	}


	public int getId() {
		return id;
	}


	public void setId(int id) {
		this.id = id;
	}


	public String getTitle() {
		return title;
	}


	public void setTitle(String title) {
		this.title = title;
	}


	public String getJj() {
		return jj;
	}


	public void setJj(String jj) {
		this.jj = jj;
	}


	public int getDir() {
		return dir;
	}


	public void setDir(int dir) {
		this.dir = dir;
	}


	public String getContent() {
		return content;
	}


	public void setContent(String content) {
		this.content = content;
	}


	public String getPic() {
		return pic;
	}


	public void setPic(String pic) {
		this.pic = pic;
	}


	public int getHits() {
		return hits;
	}


	public void setHits(int hits) {
		this.hits = hits;
	}


	public String getAuthor() {
		return author;
	}


	public void setAuthor(String author) {
		this.author = author;
	}


	public int getState() {
		return state;
	}


	public void setState(int state) {
		this.state = state;
	}


	public String getAddtime() {
		return addtime;
	}


	public void setAddtime(String addtime) {
		this.addtime = addtime;
	}


	public int getOrderid() {
		return orderid;
	}


	public void setOrderid(int orderid) {
		this.orderid = orderid;
	}


	public int getIs_free() {
		return is_free;
	}


	public void setIs_free(int is_free) {
		this.is_free = is_free;
	}


	public boolean getIsNew() {
		return isNew;
	}


	public void setIsNew(boolean isNew) {
		this.isNew = isNew;
	}


	@Override
	public String toString() {
		return "ArticleBean [id=" + id + ", title=" + title + ", jj=" + jj
				+ ", dir=" + dir + ", content=" + content + ", pic=" + pic
				+ ", hits=" + hits + ", author=" + author + ", state=" + state
				+ ", addtime=" + addtime + ", orderid=" + orderid
				+ ", is_free=" + is_free + ", isNew=" + isNew + "]";
	}
	
	
	
	
	
	
	
}
